﻿using System.Text;

namespace XmlSockets.Internal
{
    internal static class XmlSocketConstant
    {
        private static Encoding _xmlSocketEncoding;
        internal static Encoding XmlSocketEncoding
        {
            get
            {
                if (_xmlSocketEncoding == null)
                {
                    _xmlSocketEncoding = new UTF8Encoding(false);
                }

                return _xmlSocketEncoding;
            }
        }
        internal const byte Boundary_Byte = 0;
        internal const byte StartXml_Byte = 60;
        internal const byte EndXml_Byte = 62;
    }
}
